package com.rapida.example;

import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;

import com.rapida.db.SQLiteFactory;
import com.rapida.framwork.IBOutlet;
import com.rapida.framwork.IVOutlet;
import com.rapida.framwork.UIViewController;

/**
 * Created by mm on 2015/1/19.
 */
@IVOutlet(id = R.layout.theme)
public class MainUIController extends UIViewController {
	private ExampleActivity mActivity;

	public MainUIController(ExampleActivity activity) {
		mActivity = activity;
	}

	@Override
	public void viewDidLoad() {
	}

	public void showNetError() {
		Toast. makeText(mActivity, "暂无网络", Toast.LENGTH_SHORT).show();
	}

	public void startNextActivity() {
		Toast. makeText(mActivity, "跳到下个activity", Toast.LENGTH_SHORT).show();
	}
}
